#!/usr/bin/php
<?PHP

spl_autoload_register(function($class){
    include_once "4_class_graph/$class.php";
});

spl_autoload_register(function($class){
    echo "111111\n";
});

spl_autoload_register(function($class){
    echo "22222\n";
});

/*
 * function __autoload($class)
 * {
 *     require_once "4_class_graph/$class.php";
 * }
 *
 */

// $a = new kyo();

$g = new graph("triangle", 7, "", L_DOWN);
$g->show();


